package com.jintu.portal.service.datadriver.pojo.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * @author very
 */
@Data
@Document
public class SourceData {
    @Id
    private String id;

    @Field("tranTimestamp")
    private Long timestamp;

    @Field("orderId")
    private String orderId;

    @Field("userId")
    private Integer userId;

    @Field("data")
    private org.bson.Document data;
}
